/*
 * Copyright 2010-2012 Susanta Tewari. <freecode4susant@users.sourceforge.net>
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package coalescent.data;

import coalescent.model.K69;

import java.util.Map;

/**
 * @param <A> allele type
 * @param <O> mutation type
 * @param <D> the data (subtype of K69Data) of which this is a mutable version
 * @author Susanta Tewari
 */
public abstract class MutableK69Data<A, O, D extends K69Data<A, O, D>>
        extends MutablePopGenData<A, K69, D> {

    /**
     * Constructs ...
     *
     *
     * @param model
     * @param alleleFreq
     */
    public MutableK69Data(K69 model, Map<A, Integer> alleleFreq) {
        super(model, alleleFreq);
    }

    /**
     * The specified mutation should be removed from all the alleles.
     *
     * @param mutation an immediate mutation of this data set
     */
    public abstract void removeMutation(O mutation);
}
